package com.jy.adscm.operation.mscyb.bean;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;
import java.util.List;

/**
 * @author zyl
 * @Date 2019/6/14 -10:01
 */
public class JqCheckRecoder {
    private  Integer id;//该记录的id
    private  String  name;//记录的名称
    private   Integer state;//记录的状态
    private   String code; //编码
    private   String  creator;//检测人
    private Date   CreateTime;//检测时间
    private  List<JqCheck> jqChecks;//检测记录
    private  List<JqCheckRecoder> childrens;//这个记录以下的记录

    public String getCreator() {
        return creator;
    }

    public void setCreator(String creator) {
        this.creator = creator;
    }
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    public Date getCreateTime() {
        return CreateTime;
    }
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    public void setCreateTime(Date createTime) {
        CreateTime = createTime;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getState() {
        return state;
    }

    public void setState(Integer state) {
        this.state = state;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public List<JqCheck> getJqChecks() {
        return jqChecks;
    }

    public void setJqChecks(List<JqCheck> jqChecks) {
        this.jqChecks = jqChecks;
    }

    public List<JqCheckRecoder> getChildrens() {
        return childrens;
    }

    public void setChildrens(List<JqCheckRecoder> childrens) {
        this.childrens = childrens;
    }
}
